package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.CategoryDTO;
import com.leyou.item.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    
    
    List<CategoryDTO> qureyParentByPid(Long pid);

    CategoryDTO queryCategoryById(Long id);


    /**
     * 根据分类id查询对应的分类信息
     * @param id
     * @return
     */

    List<CategoryDTO>queryCategoryBrandbyId(Long id);

    List<CategoryDTO> listCategoryById(List<Long> ids);
}